package com.hivekion.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class SysSettingUpdateInputlVo extends SysSettingModelVo implements Serializable {

      @Override
      public Date getCheckStartTime() {
	    return super.getCheckStartTime();
      }

      @Override
      @DateTimeFormat(pattern = "HH:mm:ss")
      @JsonFormat(timezone = "GMT+8", pattern = "HH:mm:ss")
      public void setCheckStartTime(Date checkStartTime) {
	    super.setCheckStartTime(checkStartTime);
      }

      @Override
      @DateTimeFormat(pattern = "HH:mm:ss")
      @JsonFormat(timezone = "GMT+8", pattern = "HH:mm:ss")
      public void setCheckEndTime(Date checkEndTime) {
	    super.setCheckEndTime(checkEndTime);
      }
}
